home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / comm / www / IV24WebCam.readme < prev    next >
Text File  |  1997-09-05  |  6KB  |  181 lines

  1. Short:    GVP IV24 webcam ARexx script
  2. Author:   Casey Halverson (cmdo@gte.net)
  3. Type:     comm/www
  4. Requires: GVP IV24 board
  5.  
  6. long:
  7.  
  8. I have used this script for several months on and
  9. off to show me, things, video tapes, live TV, etc.
  10. to muliple people on my local computer's website.
  11. I made it a bit dynamic for other people to use,
  12. and now I am releasing it.  My last ARexx script
  13. I have placed online was ARexx Web Server, which
  14. some people may remember.
  15.  
  16. ---
  17.  
  18. You will need a GVP IV24 board, of course, as well as
  19. an image converter that can be accessed via shell.  I
  20. have included the arguments to have GfxConv 1.8 (a nice
  21. utility by Dirk Farin located in gfx/conv) convert
  22. the large 24bit IFF full screen images to small
  23. greyscale 320x200 GIF.  This can be simply ajusted if
  24. you wish for a different picture type, size, or color
  25. displayed.  You also need to be running the IV24CP
  26. program (the control panel) which you should be running
  27. from WBStartup if you use your board a lot -- the hotkey
  28. is defaulted to ALT-F1 if you wish to check.  Also
  29. suggested is a web server of some kind (ARexx Web Server,
  30. AWS, etc.) for users to fetch the page from.  You will
  31. have to read the documentation for those servers if you
  32. wish to add the directory 'RAM:webcam' to the root
  33. directory of your site (AKA maping). I recomend RAM
  34. operation to avoid massive harddrive usage and possible
  35. slowdown of access. 
  36.  
  37. To quit this program, simply hit control-c, or make
  38. a directory in your RAM: called 'stopcam'.
  39.  
  40. You will need to run this program from a shell prompt.
  41. This is because GfxCon likes a stack of over 20,000.
  42. This program uses a neat little trick of typing the
  43. stack command for you, and can fail if ran otherwise.
  44. If you are running it from any custom application, you
  45. will have to make sure the stack is set properly and
  46. that you modify the program so it doesn't try to set
  47. the stack also.  If anyone has a better way of doing
  48. this (address command "c:stack 20000" will not work)
  49. let me know.
  50.  
  51. After downloading, load the script up in a text editor
  52. such as MEMACS (in your workbench:tools directory),
  53. ED (located in C:), CED, etc.
  54.  
  55. At the top, you will see /* Configuration Settings */.
  56. Change the settings as you wish.
  57.  
  58. location="ram:webcam/"
  59.  
  60. This directs to the webpage location directory.  Make
  61. sure you include a trailing '/' or else you will get an
  62. error.
  63.  
  64. temp="ram:"
  65.  
  66. This is where the image is captured to; from the IV24's 
  67. frame buffer.  RAM is the fastest to convert an image
  68. to and from, unless you have some magical 10ns media
  69. device that I don't know about.
  70.  
  71. index="internet:www/webcam.html"
  72.  
  73. This shows where the webcam HTML document is.  This is
  74. nice if you have the webcam create a directory in RAM:
  75. to avoid constant copying when you run the program.
  76.  
  77. log=1
  78.  
  79. This will show date and time information as to when the
  80. image was taken, converted, and placed online.  
  81.  
  82. time=120
  83.  
  84. This is the time delay between image captures.  Please
  85. note that the time that it takes to digitize and convert
  86. the image is not included in this time.
  87.  
  88. imagecon="work:gfxcon"
  89.  
  90. This is the image converter.  I suggest using gfxcon, 
  91. since the proper arguments have been figured for you. It
  92. is also a great program :-) 
  93.  
  94. imagearg="FORMAT gif SIZE 320 200 COLORS 256"
  95.  
  96. These are the arguments for the image converter.  Before
  97. these arguments, it is assumed that the TO and FROM
  98. image filenames come before this.  Make sure you change
  99. this at the bottom if you have some different program.
  100.  
  101. Please note the following:
  102.  
  103. The IV24 has no background digitizing processes I know
  104. of.  If you have the monitor pluged into the IV24 output,
  105. you will see the digitizing in progress every so often.
  106. This can be cumbersome when trying to use the computer
  107. and the webcam at the same time.  I suggest you put your
  108. monitor on the Amiga's video out if you wish not to see
  109. it grab.  REMEMBER TO TURN YOUR COMPUTER OFF FIRST!!
  110. I am not responsable for your monitor being blown up 
  111. due to you hot plugging it.
  112.  
  113. Image converting on a A3000 030/25 (like I have) is quite
  114. slow compared to other digitizers which handle things
  115. differently.  that is because (on my setup for instance)
  116. My computer is digitizing a 736x482 image in 24 planes.
  117. This image is a megabyte or so, or perhaps 700k with
  118. IFF compression on.  When converting it down to 320x200
  119. in greyscale 256, expect some time delay.  It takes me
  120. about 45 seconds.  It maybe very fast on other setups,
  121. but I have not yet tried. 
  122.  
  123. If you make any modifications to this script, please send
  124. a copy to me (cmdo@gte.net) because I am always looking
  125. for a better/faster way to do things :-)  You may then
  126. place it on aminet or such after doing so.
  127.  
  128. Technically, you could possibly change the IV24 addressing
  129. portion of the script to other framegrabbers as well.  If
  130. you do this, let me know.  Perhaps we could come up with
  131. a large webcam archive that supports many boards and 
  132. executes joint features.
  133.  
  134.  
  135. Bugs:
  136.  
  137. o There was a bug that lost pictures and delayed them.
  138.   I fixed it just before i archived this release.  It
  139.   might have made a good feature ;-)
  140.  
  141. o Let me know if you run into any .. lets hope you don't.
  142.  
  143.  
  144. Future:
  145.  
  146. In the future I may include:
  147.  
  148. o FTP support (for now I suggest for now you use FTPMount.
  149.   Simply save it to FTP:yourftpsite/cam.gif or whatever)
  150.  
  151. o Possibly more web cams for other video boards if people
  152.   are interested.
  153.  
  154. o A GUI?
  155.  
  156. o A custom webcam web server?
  157.  
  158. o Suggestions?
  159.  
  160.  
  161. Disclaimer:
  162.  
  163. THIS SOFTWARE IS AS IS WITH NO WARRANTY OF ANY KIND.  I AM
  164. NOT RESPONSABLE FOR ANY USE OR MISUSE OF THIS SOFTWARE AND/OR
  165. COMPUTER HARDWARE.  IT IS NOT INTENDED TO BE A RELIABLE FORM
  166. OF COMMUNICATIONS.  THIS SOFTWARE IS NOT INTENDED FOR 
  167. CRITICAL OPERATIONS SUCH AS SECURITY OR LIFE SUPPORT SYSTEMS.
  168. I AM NOT RESPONSABLE FOR ANY ILLEGAL USE OF THIS SOFTWARE.
  169.  
  170. webcam.rexx for GVP's IV24 -- copyright 1997, All Rights Reserved.
  171.  
  172.  
  173. ============================= Archive contents =============================
  174.  
  175. Original  Packed Ratio    Date     Time    Name
  176. -------- ------- ----- --------- --------  -------------
  177.     2628    1259 52.0% 22-Aug-97 13:25:06  webcam.rexx
  178.     5851    2920 50.0% 22-Aug-97 13:22:54  webcam.readme
  179. -------- ------- ----- --------- --------
  180.     8479    4179 50.7% 23-Aug-97 01:47:52   2 files
  181.